package com.qyl.sever_rpc.proxy.tem3;

public class Test {
    public static void main(String[] args) {
        User user = new User();
        user.setName("666");
        // 这里不实现接口也可以代理
        CGlibProxy<User> proxy = new CGlibProxy<>(user);
        User u = proxy.createProxyObject();
        u.eat();
    }
}
